package com.sh.data.engine.domain.normalization.standard.service;


import com.sh.data.engine.domain.normalization.standard.model.domain.DictionaryMappingDetailDomain;
import com.sh.data.engine.domain.normalization.standard.model.param.MappingDetailParam;
import com.sh.data.engine.repository.dao.normalization.standard.entity.DictionaryMappingDetailEntity;

import java.util.List;

/**
 * @author jingchen.hr
 */
public interface IDictionaryMappingDetailService {

    /**
     * 根据映射id查详情列表
     *
     * @param mappingId
     * @param mapSource
     * @return
     */
    List<DictionaryMappingDetailEntity> queryList(Long mappingId, Integer mapSource);

    /**
     * 绑定或解绑映射详情
     *
     * @param param
     * @return
     */
    DictionaryMappingDetailEntity detailBound(MappingDetailParam param);

    /**
     * 维护
     *
     * @param param
     */
    void detailMaintain(MappingDetailParam param);

    /**
     * 根据tblId差映射详情
     *
     * @param tblId
     * @return
     */
    List<DictionaryMappingDetailDomain> getListByTblId(Long tblId);

    List<DictionaryMappingDetailDomain> getByDicMappingId(Long dicMappingId);
}
